package com.wans.guli.product.vo;

import com.fasterxml.jackson.annotation.JacksonInject;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wans.guli.product.entity.CategoryEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class CategoryVO extends CategoryEntity {

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<CategoryVO> children;

}
